package com.zhou.bjgl.bjgl.req.b_teacher;

import com.baomidou.mybatisplus.annotation.*;
import com.zhou.bjgl.bjgl.req.PageReq;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 *
 * </p>
 *
 * @author jz
 * @since 2021-07-04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="BTeacher对象", description="")
public class BTeacherQueryReq extends PageReq implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;

    @ApiModelProperty(value = "用户名")
    private String username;

    @ApiModelProperty(value = "密码")
    private String password;

    @ApiModelProperty(value = "姓名")
    private String name;

    @ApiModelProperty(value = "年龄")
    private Integer age;

    @ApiModelProperty(value = "学院id")
    private Long collegeId;

    private String email;

    private Long phone;

    @ApiModelProperty(value = "班级id")
    private Long classId;

    private Integer power;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty(value = "删除时间")
    private Date delTime;

    @ApiModelProperty(value = "1:删除")
    @TableLogic
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Integer delStatus;

    private String typeForEdit;


}
